package day1108.adapter.classadapter;

/**
 * @author Mr.ma
 * @since 2022/11/8 21:02
 **/
public class Phone {
    public static void main(String[] args) {
        ClassAdapter classAdapter = new ClassAdapter();
        int i = classAdapter.output5V();
        if (i == 5){
            System.out.println("电压匹配，充电开始");
        } else {
            System.out.println("嘣，惊喜");
        }
    }
}
